package com.example.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.custom.BaseService;
import com.example.demo.entity.BackMonkey;
import com.example.demo.repository.BackMonkeyRepository;
@Service
public class BackMonkeyService extends BaseService<BackMonkey,Integer>{

	@Autowired
	private BackMonkeyRepository r;
	
	public BackMonkey findByMonthAndYears(Integer month, Integer years) {
		// TODO Auto-generated method stub
		return r.findByMonthAndYears(month, years);
	}

}
